package ils.domain.issue.model;

import java.util.List;

public interface IssueRepository
{
    public Issue createIssue(Issue issue);
    public Issue getIssue(String barcode);
    public Issue getIssue(int id);
    public List<Issue> getOpenIssuesForUser(int userId);
    public List<Issue> getOpenIssues(int firstResult, int maxResult);
    public List<Issue> getOpenIssuesForBranch(int branchId);
    public List<Issue> searchForIssues(IssueCriteria issueCriteria);
    public Issue editIssue(Issue issue);
    public List<Issue> getIssuesForABook(int bookId, int firstResult, int count);
}
